package com.petecat.interchan.system.companyempl.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.petecat.interchan.core.mapper.BaseMapper;
import com.petecat.interchan.protocol.sso.companyempl.vo.BsSmsQryVO;
import com.petecat.interchan.system.companyempl.entity.BsSms;

@Mapper
@Repository
public interface ICompanyEmplMapper extends BaseMapper<BsSms, String>{
	
	/**
	 * 删除公司联系人基本信 修改状态
	 * @param companyEmplId
	 * @param state
	 */
	void updateCompanyStateById(@Param("companyEmplId") String companyEmplId, @Param("state") String state);
	
	/**
	 * 查询所有人员
	 * @return
	 */
	List<BsSms> queryAllCompanyEmpl();
	
	/**
	 * 通过UserId获取用户
	 * @param string
	 * @return
	 */
	BsSmsQryVO queryCompanyEmplListByUserId(@Param("id") String string);

}
